home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MIDICraft's MIDINET CD-ROM
/
MIDICraft's MIDINET CD-ROM.iso
/
DOSUTILS
/
DMP2MIDI.DOC
< prev
next >
Wrap
Text File
|
1996-02-22
|
4KB
|
116 lines
******************************
DMP2MIDI v1.0
converts dmp generated by mididmp back to midi
by Guenter Nagler
1996
(gnagler@ihm.tu-graz.ac.at)
******************************
[0] FEATURES
+ reads a dmp text file (format generated by mididmp)
+ writes a binary midi file
[1] BACKGROUND
The program MIDIDMP generated a simple time sorted dump of notes
from a midi file. Somebody asked me for a converter back to midi.
Here is it.
Currently MIDIDMP only dumps notes and tact measures.
In future I will add some other midi commands that are necessary when
generating midi files that sound better than midi songs using only
one instrument.
For extended midi command set use MIDI2TXT / TXT2MIDI converters.
[2] FILES DESCRIPTION
DMP2MIDI.EXE.........converter program
DMP2MIDI.DOC.........this file, showing usage of DMP2MIDI.EXE
MIDIIO.HPP..........header file for a c++ midi parser
MIDIIO.CPP..........source code for a c++ midi parser
DMP2MIDI.CPP.........c++ source code for modifying midi files
DMP2MIDI.MAK.........make file for project
DMP2MIDI.CFG.........compiler options for make
DMP2MIDI.PRJ.........compiler project for Borland (tm) c++ compilers
only DMP2MIDI.EXE is required to run program
[3] COPYRIGHT
DMP2MIDI (c) 1996 was created by Guenter Nagler.
DMP2MIDI is free and may be used as you wish with this one exception:
You may NOT charge any fee or derive any profit for distribution
of DMP2MIDI. Thus, you may NOT sell or bundle DMP2MIDI with any
product in a retail environment (shareware disk distribution, CD-ROM,
etc.) without permission of the author.
You may give DMP2MIDI to your friends, upload it to a BBS, or ftp it to
another internet site, as long as you don't charge anything for it.
[4] DISCLAIMER
DMP2MIDI was designed to handle 100% compatible dump files of format
generated by MIDIDMP. So I give no guarantees of the results, especially
with not 100% compatible text files.
Use DMP2MIDI at your own risk. Anything you do with DMP2MIDI is your
responsibility, and not the author's. Any damage caused to any person,
computer, software, hardware, company, or business by running DMP2MIDI
is your responsibility, and the author will not be liable.
If you don't understand these terms, or are not sure of something, or
are afraid something bad might come of using DMP2MIDI, don't use it!
You are here forewarned.
[5] INSTALLATION
[MSDOS]
Simply copy DMP2MIDI.EXE in a directory that is in your path.
When you start the program without arguments
[UNIX]
compile sources with your C++ compiler (e.g. GNU Compiler g++):
g++ -o DMP2MIDI DMP2MIDI.cpp midiio.cpp
and run program
$ DMP2MIDI
C:\> DMP2MIDI
you should get the usage text (see next section)
[6] USAGE
dmp2midi converts text generated by mididmp back to midi
usage: dmp2midi [-tempo #] [-program #] filename.dmp filename.mid
-tempo #: general song tempo in beats/min (40-240)
-program #: instrument number (0-127)
The parts in brackets [...] are optional.
The program DMP2MIDI allows following option:
-tempo #: set tempo of resulting midi song, currently tempo cannot be
changed during playing.
-program: set instrument of midi song, currently program cannot be changed
during playing and only one program can be used for all notes.
[8] SUGGESTIONS / COMMENTS / BUG REPORTS / QUESTIONS
WWW: http://hgiicm.tu-graz.ac.at/Cpub
contains all my dos/unix midi programs
EMAIL: gnagler@ihm.tu-graz.ac.at
[9] USE
example: generate dump with mididmp
MIDIDMP filename.mid > filename.dmp
example: convert back to a midi file
DMP2MIDI filename.dmp newfile.mid